package com.kehutong.contact.enums;

import org.coraframework.util.HashID;

/**
 * 住户房屋绑定类型
 * @author 刘坤龙
 */
public enum BindType implements HashID {
    NO_BIND("0", "待绑定"),
    BIND("1", "已绑定"),
    UN_BIND("2", "已解绑"),
    TRANSFER ("3", "已转让"),
    INVALID("4", "已失效")
    ;
    private final String id;
    private final String desc ;

    private BindType(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
